<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<!-- <script src="https://unpkg.com/vue@next"></script> -->
		<script src="js/v2.6.10/vue.js"></script>
	</head>
	<body>
		<div id="app">
			<input type="text"  @keydown.20="KeyUpEsc"/>
			<h2 v-show="ok">当前已切换为大写模式!</h2>
			
		</div>
		
		<script>
		 var i = new Vue({
			 el:"#app",
			 data:{
				 ok:false
			 },
			 methods:{
				KeyUpEsc:function(){
				      this.ok = !this.ok
				  }
			 }
		 })
		</script>
	</body>
</html>
